package com.example.homelicaisystem.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


@Data
public class User {
    public static final int CREATE = 1;
    private Integer id;
    @NotBlank(message = "name不能为空")
    private String name;
    private Integer familyId;

    private Integer state;
    private String phone;
    private String password;
    //微信存款
    private Integer weichat;
    //支付宝存款
    private Integer alipay;
    //股票
    private Integer myshares;

}
